<template>
  <view class="">
    <!-- 自定义右侧内容 -->
    <uni-list-chat
      title="娃娃丢"
      avatar="https://img.36krcdn.com/20200410/v2_224a699a06504292804e4bdf70ca87bb_img_png"
      note="你人呢"
      time="2020-02-02 20:20"
      badge-positon="left"
      badge-text="1"
      link="navigateTo"
      to="/pages/chat/index"
    ></uni-list-chat>
    <uni-list-chat
      title="松松佳"
      avatar="https://img.36krcdn.com/20200410/v2_747fc8a18fde4da4b1ba1080d8e6aa04_img_000"
      note="您收到一条新的消息"
      time="2020-02-02 20:20"
      badge-positon="left"
      badge-text="1"
    ></uni-list-chat>
  </view>
</template>

<script setup lang="ts">
  const link = {
    navigateTo: '/pages/chat/index',
  }
  // const toAiTalk = () => {
  //   console.log('aaa')

  //   uni.navigateTo({
  //     url: 'pages/chat/index',
  //   })
  // }
</script>

<style scoped></style>
